package com.lzs.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘中帅
 * @since 2020-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("o_outorder")
@ApiModel(value="Outorder对象", description="")
public class Outorder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "出库单号")
    private String outorderno;

    @ApiModelProperty(value = "仓库id")
    private Long warehouseid;

    @ApiModelProperty(value = "种类")
    private Integer category;

    @ApiModelProperty(value = "商品总数量")
    private Integer qty;

    @ApiModelProperty(value = "状态（0：初始，1：待审核，2：已审核，3.已分配，4：拣货中，5：已出库，9.已取消）")
    @TableField(fill = FieldFill.INSERT)
    private String state;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "收件人")
    private String receiver;

    @ApiModelProperty(value = "所在省")
    private String province;

    @ApiModelProperty(value = "所在市")
    private String city;

    @ApiModelProperty(value = "所在区/县")
    private String county;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "出库时间")
    private Date depottime;

    @ApiModelProperty(value = "创建人id")
    private Long createid;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    @ApiModelProperty(value = "修改人id")
    private Long updateid;

    @ApiModelProperty(value = "修改人")
    private String updator;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updatetime;

    @ApiModelProperty(value = "审核人id")
    private Long auditid;

    @ApiModelProperty(value = "审核人")
    private String auditor;

    @ApiModelProperty(value = "审核时间")
    private Date audittime;

    @TableField(exist = false)
    private String begintime;

    @TableField(exist = false)
    private String finishtime;

}
